- 
		Home
	
- 
YayPricing – WooCommerce Dynamic Pricing & Discounts
- 
2.4.8
- 
Code
- 
Classes
-  YAYDP_Adjustments 
		
			
				
					
													
								
																			
											| Total Complexity | 12 | 
																			
											| Dependencies | 0 | 
																			
											| Dependents | 0 | 
																	
							 
													
								
																			
											| Total lines | 99 | 
																			
											| Lines of code | 49 | 
																			
											| Logical lines of code | 22 | 
																	
							 
													
								
																			
											| Comment lines | 34 | 
																			
											| Methods | 9 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 9
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| get_list_adjustments_with_total_discount_amount() | S | 63 | 2 | 11 | 
					
				| sort_by_asc_amount() | S | 64 | 2 | 10 | 
					
				| sort_by_desc_amount() | S | 64 | 2 | 10 | 
					
				| collect() | S | 100 | 1 | 0 | 
					
				| apply() | S | 100 | 1 | 0 | 
					
				| do_stuff() | S | 78 | 1 | 4 | 
					
				| get_adjustments() | S | 82 | 1 | 3 | 
					
				| add_adjustment() | S | 80 | 1 | 3 | 
					
				| reassign_list_to_adjustments() | S | 68 | 1 | 8 |